package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.TbSubway;
import com.ruoyi.system.mapper.TbSubwayMapper;
import com.ruoyi.system.service.TbSubwayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbSubwayServiceImpl implements TbSubwayService {


    @Autowired
    TbSubwayMapper subwayMapper;

    @Override
    public List<TbSubway> selectSubwayByCityId(Integer id) {

        return subwayMapper.selectSubwayByCityId(id);
    }
}
